package com.house.mapper;

import com.house.entity.LetterIntent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author asus
 * @since 2021-02-28
 */
@Mapper
public interface LetterIntentMapper {

    Integer insertNewLetterIntent(@Param("letterIntent") LetterIntent letterIntent);

    List<LetterIntent> selectLetterIntent(@Param("hostId") Integer hostId);
}
